package program;

import java.sql.Time;
import java.util.*;

public class TTManager {
	
	private static ArrayList<Timetable> timetables = new ArrayList<Timetable>();
	
	public TTManager() {
	}

	//create a weekly timetable that starts on given date
	public void createNewTT(Date weekStartDate){
		if(weekStartDate == null) throw new IllegalArgumentException("Cannot have null parameter");
			
		Timetable timetable = new Timetable(weekStartDate);
		timetables.add(timetable);
	}
	
	public ArrayList<Timetable> getTimetables(){
		return timetables;
	}
	
}
